//
//  NSXAbloutViewController.m
//  B段项目
//
//  Created by dllo on 15/11/13.
//  Copyright © 2015年 徐茂怀. All rights reserved.
//

#import "NSXAbloutViewController.h"

@interface NSXAbloutViewController ()

@end

@implementation NSXAbloutViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.title = @"关于我们";
    self.view.backgroundColor = [UIColor whiteColor];
    self.navigationController.navigationBar.tintColor = [UIColor whiteColor];
    [self.navigationController.navigationBar setTitleTextAttributes:[NSDictionary dictionaryWithObjectsAndKeys:[UIColor whiteColor] , NSForegroundColorAttributeName, nil]];
    // Do any additional setup after loading the view.
}


-(void)loadView
{
    [super loadView];
    
    UIImageView *imageView1 = [[UIImageView alloc]initWithFrame:CGRectMake(0, 0, 375, 200)];
    imageView1.image = [UIImage imageNamed:@"关于我们.png"];
    [self.view addSubview:imageView1];
    
    UILabel *label = [[UILabel alloc]initWithFrame:CGRectMake(140, 195, 100, 50)];
    label.text = @"新食界";
    label.textAlignment = 1;
    label.font = [UIFont systemFontOfSize:28];
    [self.view addSubview:label];
    
    UILabel *label1 = [[UILabel alloc]initWithFrame:CGRectMake(20, 240, 335, 120)];
    label1.numberOfLines = 0;
    label1.text = @"    '新食界'是我们开发的一款关于美食的软件,其中包括点心,水果以及八大菜系的各种猜的做法,也为用户推荐了一些养生餐.我们还为用户精心准备了关于做菜的视频,让您更直接的区了解做菜的步骤.";
    [self.view addSubview:label1];
    UILabel *label2 = [[UILabel alloc]initWithFrame:CGRectMake(20, 350, 335, 50)];
    label2.text = @"    世界很大,美食无疆.我们虽不能带您环游世界,但是我们可以带您吃遍全球.";
    label2.numberOfLines = 0;
    [self.view addSubview:label2];
    
    UILabel *label3 = [[UILabel alloc]initWithFrame:CGRectMake(20, 390, 335, 120)];
    label3.text = @"    每一次的亲自挑选,都是为了您的舌尖偏偏起舞;每一次的进口尝试,都是为了让您的味蕾悄然绽放;每一次的真心推荐,都是为了让您的心头找到真爱;希望我们'新食界'期待与您携手!";
    label3.numberOfLines = 0;
    [self.view addSubview:label3];
}
- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
